<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + TS</title>
  </head>
  <body style="padding: 40px">
    <h1>Radio Group</h1>

    <div class="radio-group">
      <div class="radio-group-label">Select an option</div>
      
      <label class="radio-item" data-value="option1">
        <div class="radio-control"></div>
        <span class="radio-label">Option 1</span>
        <input class="radio-input" type="radio" />
      </label>
      
      <label class="radio-item" data-value="option2">
        <div class="radio-control"></div>
        <span class="radio-label">Option 2</span>
        <input class="radio-input" type="radio" />
      </label>
      
      <label class="radio-item" data-value="option3">
        <div class="radio-control"></div>
        <span class="radio-label">Option 3</span>
        <input class="radio-input" type="radio" />
      </label>
    </div>

    <script type="module" src="./radio-group.ts"></script>
  </body>
</html>